home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4702 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.1 KB

  1. Path: news.infi.net!usenet
  2. From: nngis@norfolk.infi.net (Greg DiGiorgio)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: ok...
  5. Date: 6 Feb 1996 15:57:48 GMT
  6. Organization: Customer of InfiNet
  7. Message-ID: <4f7tps$90j@nw002.infi.net>
  8. References: <N.020696.080023.25@cfarrell.blitz.de>
  9. Reply-To: nngis@norfolk.infi.net
  10. NNTP-Posting-Host: h-gunslinger.norfolk.infi.net
  11. Mime-Version: 1.0
  12. X-Newsreader: WinVN 0.99.3
  13.  
  14. In article <N.020696.080023.25@cfarrell.blitz.de>, 
  15. cfarrell@cumulus.blitz.de says...
  16. >
  17. >Well, ok..I think I have what I need. I posted earlier to this 
  18. newsgroup, I 
  19. >think...Asked about free tools for c. Well, I bought Turbo C++ version 
  20. 4.5 for 
  21. >windows. I then found my old copy of 3.0 for dos a week later. I can 
  22. follow a 
  23. >little bit of 3.0, and while the program works in 4.5 that worked in 
  24. 3.0, I can 
  25. >not understand it at all now.
  26.  
  27. *** Ok, so now you have a DOS and Windows programming platform. Isn't 
  28. TC++ 
  29. *** V4.5 still Windows-only (unlike its bigger brother Borland C/c++ 
  30. V4.52)?
  31.  
  32. > For example, I am using a shareware library 
  33. >called "CMagic" and this basically seems to make things simpler; but I 
  34. have no 
  35. >idea of the functions in 4.5, or what the proper syntax is or anything. 
  36. I am 
  37. >just learning, but I don't see how I can build windows programs in C++. 
  38.  
  39.  
  40. *** Boy, you're right about that. It can take some coding, especially 
  41. writing 
  42. *** Windows programs in 'C'. That's why they invented Visual BASIC - to 
  43. make
  44. *** Windows programming easier (much easier).
  45.  
  46. >Before 
  47. >you get upset, yes, I know...This is the "C" area, and not "C++". 
  48. However, I am 
  49. >not worrying about the ++ part until I can properly program in "C" 
  50. first. My 
  51. >compiler supports "C" so no problem. 
  52.  
  53. *** There is a school of thought that learning 'C' prior to learning C++ 
  54. is
  55. *** a detriment. The idea being that 'C' coders are set into a certain 
  56. way
  57. *** of thinking about programming. With C++ the paradigm is much 
  58. different
  59. *** and requires a new approach to programming. As such, you may have to 
  60. unlearn
  61. *** concepts that became ingrained during your stint as a 'C' programmer.
  62. *** I don't completely agree with this line of reasoning, but it is worth 
  63. *** thinking about. You might post to one of the C++ forums and get some 
  64. *** people's ideas. Remember, you'll have to sift out the C++ bigots from
  65. *** those who are giving you straight dope.
  66.  
  67. >Would appreciate some assistance. I am in 
  68. >the Army now, and trying to learn C
  69. >++ or at least "C" so when I go back to school in a few years, I won't 
  70. have 
  71. >such a learning curve. 
  72.  
  73. *** Although you are in the ARMY, can't you take a programming course at
  74. *** a local community college? Doing so, will help you develop good
  75. *** programming habits from the start. Some self-taught folks (C, Pascal,
  76. *** or whatever) tend to shoe-horn a new language into something they
  77. *** already know. For example, I knew a guy from eastern europe that
  78. *** coded 'C' as if it was BASIC. I mean his 'C' programs looked just 
  79. like
  80. *** vintage 60's BASIC code - 2 character variable names, no use of
  81. *** "else if", only "if". Only used the FOR loop, etc. He had simply
  82. *** carried over his knowledge and made 'C' fit his model. Don't fall
  83. *** into the same trap.
  84.  
  85. >Please have a heart, and help me join your ranks. I know 
  86. >basic, but so far I have seen few resemblences. Subroutines are similar 
  87. to 
  88. >functions, but I feel kinda lost other than that. Thanks in advance.
  89.  
  90. *** Are you sure programming is what you want to do? To be mediocre, you
  91. *** have to devote alot of time. To be good, you live it. To be better
  92. *** than that - well, I don't know; you'll have to ask one of the few
  93. *** exceptional programmers.
  94.  
  95. *** I chose programming after my college counselor told me that to
  96. *** do research biology I'd need advanced degrees. I really wanted to
  97. *** get into medicine, but had no funds to do so. I was in hock up
  98. *** to my neck for a BS degree, recently married, and in need
  99. *** of cash. That's how I ended up in programming. I'm happy I did,
  100. *** but now must live with the question of what it could have been
  101. *** like had I stayed with my first choice. Don't make the same
  102. *** decision for the same reasons.
  103. >
  104. >cfarrell@cumulus.blitz.de
  105. >
  106.  
  107. Hope this helps,
  108. Greg DiGiorgio
  109.  
  110.